package persistence;

import java.util.List;

import persistence.exception.DAOException;

public interface UserDAO {
	User find(int id) throws DAOException;
	User findByUsernameAndEncryptedPassword(String username, String password) throws DAOException;
	List<User> findAllByName() throws DAOException;
	void update() throws DAOException;
	User create(int id, String username, String password, Boolean isActive, LibraryLocation libraryLocation) throws DAOException;
}